package com.github.avatar.config.dubbo;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Stephen Liu
 * @since 2017/4/19
 */
@ConfigurationProperties(prefix = "provider")
public class Provider {
    private int port;
    private String version;
    private String proxy;
    private int timeout;
    private int retries;
    private int threads;

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getProxy() {
        return proxy;
    }

    public void setProxy(String proxy) {
        this.proxy = proxy;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public int getRetries() {
        return retries;
    }

    public void setRetries(int retries) {
        this.retries = retries;
    }

    public int getThreads() {
        return threads;
    }

    public void setThreads(int threads) {
        this.threads = threads;
    }
}
